package cn.kgc.tafang.entity;

import java.io.Serializable;

/**
 * 技能类
 */
public class Skill implements Serializable {
    private String name;    //技能名称
    private int power;  //攻击力
    private int AOE;    //攻击范围(能攻击到几个怪物)
    private int health; //恢复生命值

    public Skill(String name, int power, int AOE, int health) {
        this.name = name;
        this.power = power;
        this.AOE = AOE;
        this.health = health;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPower() {
        return power;
    }

    public void setPower(int power) {
        this.power = power;
    }

    public int getAOE() {
        return AOE;
    }

    public void setAOE(int AOE) {
        this.AOE = AOE;
    }

    public int getHealth() {
        return health;
    }

    public void setHealth(int health) {
        this.health = health;
    }
}
